% !TEX encoding = UTF-8 Unicode
\documentclass[11pt]{article}
%\input CE_fonts
\usepackage[utf8]{inputenc}
\usepackage{times}

\textwidth = 183mm
\textheight = 290mm
\oddsidemargin = -20mm
\evensidemargin = -20mm
\topmargin = -20mm
\headheight = 0mm
\headsep = 0mm
\parskip = 0mm
\parindent = 0mm
\pdfpagewidth=210mm
\pdfpageheight=297mm



\pagestyle{empty}

\def\Dovolena#1#2#3#4#5#6#7{% #1 Jméno  #2 Rok  #3 Od  #4 Do  #5 Počet dnů  #6 Datum vyplnění  #7 id
\setbox0=\hbox{\pdfximage{Dovolenka-form.pdf}\pdfrefximage\pdflastximage}
\unitlength=0.01mm
%\framebox
{\begin{picture}(12200,9300)(0,0)
\put(0,0){\box0} % Podklad
%\put(0,0){X}
\put(350,8100){#1}
\put(10000,8100){MÚ}
\put(2950,5950){#2}
\put(4900,5950){#3}
\put(6900,5950){#4}
\put(9700,5950){#5}
\put(1700,3620){#6}
\put(12000,8850){\makebox[0pt][r]{\scriptsize #7}}
\put(0,-200){\line(1,0){18000}}
\end{picture}}\par\vspace{3mm}
}

\def\Cestak#1#2#3#4#5#6#7#8#9{% #1 Jméno  #2 Od  #3 Do  #4 Místo  #5 Účel  #6 Grant  #7 Adresa  #8 Stát  #9 id
\setbox0=\hbox{\pdfximage{CestakA-form.pdf}\pdfrefximage\pdflastximage}
\unitlength=0.01mm
%\framebox
{\hspace*{9.5mm}\begin{picture}(16700,27670)(0,0)
\put(0,0){\box0} % Podklad
\put(14700,27700){{\small #6}}
\put(7500,27400){Matematický ústav}
\put(3800,24200){#1}
\put(12900,24200){#4}
\put(3800,23600){#7}
\put(12900,23600){#8}
\put(3800,23050){Matematický ústav}
\put(3800,22450){#5}
\put(7500,21900){#2}
\put(7500,21300){#3}
\put(14700,1000){{\small #9}} % id
%\put(0,0){X}
\end{picture}}\newpage
\setbox0=\hbox{\pdfximage{CestakB-form.pdf}\pdfrefximage\pdflastximage}
\unitlength=0.01mm
%\framebox
{\hspace*{9.5mm}\begin{picture}(16700,27670)(0,0)
\put(0,0){\box0} % Podklad
\put(7500,26500){Matematický ústav}
\put(14700,1000){{\small #9}} % id
%\put(0,0){X}
\end{picture}}
}